package com.ioc.trade.dao;

import com.ioc.common.dao.BaseRepository;
import com.ioc.trade.entity.OnlineOrder;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = OnlineOrder.class, idClass = Long.class)
public interface OnlineOrderRepository extends BaseRepository<OnlineOrder, Long> {


    OnlineOrder findByExternalNum(String externalNum);

    OnlineOrder findBySerialNum(String serialNum);

    OnlineOrder findByTradeNum(String tradeNum);
}
